-- GENERATED SPELL FOR [Unyielding Dead] --


function spell0_25268(pUnit, Event) --@Teleport to Player,n/a--
pUnit:FullCastSpellOnTarget(21543,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25268', 595, 1)
end

function Sorts_25268(pUnit, Event)
local choix_sorts_25268 = math.random(0, 0)
if choix_sorts_25268 == 0 then
pUnit:RegisterEvent('spell0_25268', 1, 1)
end
end

function mob25268_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25268', math.random(1500, 3000), 1)
end

function mob25268_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25268_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25268_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25268, 1, 'mob25268_Action')
RegisterUnitEvent(25268, 2, 'mob25268_Leave')
RegisterUnitEvent(25268, 3, 'mob25268_Kill')
RegisterUnitEvent(25268, 4, 'mob25268_Die')
